<template>
  <!-- 商品信息 -->
  <div>
    <div>
      商品id: <strong>{{ info.goodNo }}</strong>
    </div>
    <div>
      商品名称: <strong>{{ info.goodName }}</strong>
    </div>
    <div>商品描述: <slot name="desc">这是一本好书</slot></div>
  </div>
</template>

<script>
export default {
  name: 'GoodsInfo',
  props: {
    info: {
      type: Object,
      default: () => ({}),
    },
  },
}
</script>

<style scoped></style>
